default: once

dvi: aaai2011.tex
	latex aaai2011


once: *.tex 
	latex aaai2011
	dvips -j0 -Ppdf -Pdownload35 -G0 -t letter aaai2011.dvi -o aaai2011.ps
	ps2pdf -dEmbedAllFonts=true aaai2011.ps aaai2011.pdf
	evince aaai2011.pdf &


pdf: *.tex 
	latex aaai2011
	bibtex aaai2011
	latex aaai2011
	latex aaai2011
	#dvips -j0 -Ppdf -Pdownload35 -G0 -t letter aaai2011.dvi -o aaai2011.ps
	dvips -t letter aaai2011.dvi -o aaai2011.ps
	#ps2pdf -dEmbedAllFonts=true aaai2011.ps aaai2011.pdf
	ps2pdf aaai2011.ps aaai2011.pdf
	evince aaai2011.pdf &

commit:
		svn commit -m "`date`"

clean:
	rm -f aaai2011.pdf aaai2011.ps  *.dvi *.bbl *.aux *.log
